package cn.edu.zafu.bigdata.hjn;

public class TestStaticDemo {
    public static void main(String[] args) {
        // 创建多个 StaticDemo 类的实例
        StaticDemo obj1 = new StaticDemo();
        StaticDemo obj2 = new StaticDemo();
        StaticDemo obj3 = new StaticDemo();

        // 调用静态方法，验证实例创建次数
        StaticDemo.displayCount(); // 输出实例数量
    }
}

